package dcutils.cards.mtg;

// Import DCUtils Classes
import dcutils.tuples.Pair;

/**
 * Pairs 2 types of mana as one type.<br/>
 * @author dca
 */
public class HybridMana extends Pair<Mana, Mana> implements Mana {
	/**
	 * The constructor initializes both types of mana to make into a hybrid.<br/>
	 * @param one The first type of mana.<br/>
	 * @param two The second type of mana.<br/>
	 */
	public HybridMana(Mana one, Mana two) {
		super(one, two);
	} // END constructor

	/**
	 * The getter for the name of the hybrid mana.<br/>
	 * This will be represented as a tuple: (a,b)<br/>
	 * @return String A string representation of the hybrid mana.<br/>
	 */
	public String getName() {
		return String.format("(%s,%s)", first().getName(), second().getName());
	} // END getName
} // END class HybridMana
